package org.lc.stk.web.dto.majorcengci;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;

@Schema(description = "更新专业层次关联请求")
public class UpdateMajorCengciRequest {
    
    @Schema(description = "专业层次关联ID", example = "1")
    @NotNull(message = "专业层次关联ID不能为空")
    private Integer id;
    
    @Schema(description = "专业ID", example = "1")
    private Integer majorId;
    
    @Schema(description = "培养层次ID", example = "1")
    private Integer cengciId;
    
    @Schema(description = "排序号", example = "1")
    private Integer orderNum;
    
    @Schema(description = "备注", example = "本科专业")
    @Size(max = 500, message = "备注不能超过500个字符")
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMajorId() {
        return majorId;
    }

    public void setMajorId(Integer majorId) {
        this.majorId = majorId;
    }

    public Integer getCengciId() {
        return cengciId;
    }

    public void setCengciId(Integer cengciId) {
        this.cengciId = cengciId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}